﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Create.ascx.vb" Inherits="FrontEnd_Control_TinMuaXe_Create" %>
<%@ Register TagPrefix="aspNewControls" Namespace="NewControls" %>
<%@ Register Assembly="ValidationTextBox" Namespace="ValidationTextBox.CustomControls"
    TagPrefix="cc1" %>
<%@ Register Assembly="ValidationDropdownlist" Namespace="ValidationDropdownlist.CustomControls"
    TagPrefix="cc2" %>
 <script type="text/javascript" >

     $(function () {
         $(".TextBox:first").focus();
         $("#<%= btnSave.ClientID %>").click(function () {
             if (validateFormInputs() == true) {
                 return true;
             } else {
                 return false;
             };
         });
     });
</script>




<div  class="Header"><h3>
	TẠO TINMUAXE </h3>
</div>
<div class="Required">
          <span class="fieldRequired">&nbsp;</span>Trường yêu cầu nhập dữ liệu
      </div>
    

		
		<div class="DivRow">
		<div  class="DivLabel">
			<asp:Label ID="lblTieude" CssClass="TextLabel" runat="server" Text="Tiêu đề:" /> <span class="fieldRequired">&nbsp;</span>
		</div>
		<div  class="DivTextBox" >
                        <cc1:ValidationTextBox ID="txtTitle" CssClass="TextBox" Width="390px" runat="server" DataType="required" AssociatedLableText="Nhập tiêu đề" />
		</div>
		</div>
		<div class="DivRow">
		<div  class="DivLabel">
			<asp:Label ID="lblNoidung" CssClass="TextLabel" runat="server" Text="Nội dung:" /> <span class="fieldRequired">&nbsp;</span>
		</div>
		<div  class="DivTextBox" >
                        <cc1:ValidationTextBox ID="txtDescription" runat="server" CssClass="TextBox" Height="120px"
                            Rows="5" Text="" TextMode="MultiLine" Width="390px" DataType="required" AssociatedLableText="Nhập tiêu đề"   />
		</div>
		</div>

		
		<div  class="DivLabel">
			<asp:Label ID="lblTinmuaxekhoanggiaid" CssClass="TextLabel" runat="server" Text="Giá:" /> <span class="fieldRequired">&nbsp;</span>
		</div>
		<div  class="DivTextBox" >
	                <cc2:ValidationDropdownlist ID="ddlTinmuaxekhoanggiaid" runat="server" AssociatedLableText="Chọn khoảng giá"  DataType="required"/>
        </div>
		<div class="DivRow">
		<div class="DivLabel" >&nbsp;&nbsp;&nbsp;</div>
		<div class="DivTextBox" >
			<asp:Button ID="btnSave" runat="server" Text=" Lưu " CssClass="btn" />
			<asp:Button ID="btnHuy" CausesValidation="false" runat="server" Text=" Hủy " CssClass="btn" />&nbsp;
		</div>
		</div>